package models

type ParamSignUp struct {
	Username   string `json:"username" binding:"required"`
	Password   string `json:"password" binding:"required"`
	RePassword string `json:"re_password" binding:"required"`
}
type RegisterUserInfoReq struct {
	Username   string `json:"username" binding:"required"`
	Password   string `json:"password" binding:"required"`
	RePassword string `json:"re_password" binding:"required,eqfield=Password"`
}

// CheckImg 验证图片
type CheckImg struct {
	SearchId string `json:"search_id"` //验证Id
	B64s     string `json:"b64s"`      //验证图片
}

// CheckTokenReq 检验token
type CheckTokenReq struct {
	Token string `json:"token" binding:"required"` //令牌
}

// PageInfo 页
type PageInfo struct {
	Page int `json:"page" binding:"required"` //页
	Size int `json:"size" binding:"required"` //大小
}

// SearchAllTypeInfo 搜索全部
type SearchAllTypeInfo struct {
	PageInfo
}
